Contents | Index | < Browse | Browse >
LETTERisdigitULETTER
Tests for digit characters.
Overview
#include <ctype.h>
b = isdigit(ch);
int ch;
Portability
ANSI
Description
Tests if the character passed is a digit, that is, a char from '0' to '9'.
Returns
0 if the character is no digit, otherwise a value <>0.
See also